package com.shareach.service;  

import java.util.List;

import org.springframework.data.domain.Page;

import com.shareach.common.BaseQueryOrder;
import com.shareach.domain.BaseSiteDomain;

/** 
 * create time：2013-1-30 上午11:53:21 
 * @author retryu 
 * @since JDK 1.6
 * @version 1.0  
 * description： 
 */
public interface BaseSiteService {
	
	Long  save(BaseSiteDomain  domain);
	
	void  del(BaseSiteDomain  domain);
	
	
	void  update(BaseSiteDomain domain);
	
	
	BaseSiteDomain  getById(Long  id);
	
	
	List<BaseSiteDomain>  getList(BaseSiteDomain  domain);
	//load page
	Page<BaseSiteDomain> getPageResult(BaseSiteDomain domain, BaseQueryOrder order);
	
}
  
